<!DOCTYPE html>
<div style="opacity:0.5; position:relative; height:0;">
  <div style="background:green;">Background should be pale green</div>
</div>